<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>global</title>
</head>
<body>
    <div id="app">

        <heima></heima>
        <heima></heima>
        <heima></heima>
        <heima></heima>
        <heima></heima>
    </div>
<script src="./node_modules/vue/dist/vue.js"></script>
<script type="text/javascript">

    Vue.component("heima",{
        template:"<div>{{hello}}</div>",
        data(){
            return {
                hello:"小凤"
            }
        }
    })

    var vm = new Vue({
        el: "#app",
        data:{
            yy:"嘿嘿"
        }
    })
</script>
</body>
</html>